package myrectangle;

public class TestMyRectangle {
	public static void main(String[] args) {
		MyPoint leftUpper = new MyPoint(1, 1);
		MyPoint rightLower = new MyPoint(4, 5);
		MyRectangle myRectangle = new MyRectangle(leftUpper, rightLower);

		System.out.println(myRectangle.getPerimeter());
		System.out.println(myRectangle.getDiagonal());
	}
}
